var express = require('express');
var router = express.Router();
var datactrl=require('../controllers/user.controllers');
router.post('/data',datactrl.create);
router.put('/data/:id',datactrl.update);
router.delete('/data/:id',datactrl.remove);
router.post('/list',datactrl.list);
module.exports = router;
